#include "odom_imu.h"
#include <iostream>


using namespace std;


odom_imu::odom_imu():
time_stamp(0),
imu_angle(0.0),
imu_distance(0),
imu_x_axes(0.0),
imu_y_axes(0.0)
{
  cout<<"buld odom_imu success\r\n"<<endl;
}


odom_imu::odom_imu(int my_time_stamp,float my_imu_angle,int my_imu_distance,float my_imu_x_axes,float my_imu_y_axes){


    time_stamp= my_time_stamp;
    imu_angle= my_imu_angle;
    imu_distance=my_imu_distance;
    imu_x_axes=my_imu_x_axes;
    imu_y_axes=my_imu_y_axes;
}

odom_imu::~odom_imu()
{

    cout<<"destroy odom_imu success\r\n"<<endl;
}

void odom_imu::set_time_stamp(int timestamp){

    time_stamp=timestamp;

}

int odom_imu::get_time_stamp(){

    return  time_stamp;
}


void odom_imu::set_angle(float angle){

    imu_angle=angle;

}

float odom_imu::get_angle(){

    return imu_angle;

}


void odom_imu::set_distance(int  distance){

    imu_distance=distance;

}

int odom_imu::get_distance(){

    return imu_distance;

}

void odom_imu::set_x_axes(float  x_axes){

    imu_x_axes=x_axes;

}

float odom_imu::get_x_axes(){

    return imu_x_axes;

}

void odom_imu::set_y_axes(float  y_axes){

    imu_y_axes=y_axes;

}

float odom_imu::get_y_axes(){

    return imu_y_axes;

}
